home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / mweb / MWEB Utils / ws295sdk.exe / Ws2sdkzp.exe / SAMPLES / LAYERED / PRECOMP.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-06-06  |  2.4 KB  |  77 lines

  1. /*++
  2.  
  3.      Copyright c 1996 Intel Corporation
  4.      All Rights Reserved
  5.  
  6.      Permission is granted to use, copy and distribute this software and
  7.      its documentation for any purpose and without fee, provided, that
  8.      the above copyright notice and this statement appear in all copies.
  9.      Intel makes no representations about the suitability of this
  10.      software for any purpose.  This software is provided "AS IS."
  11.  
  12.      Intel specifically disclaims all warranties, express or implied,
  13.      and all liability, including consequential and other indirect
  14.      damages, for the use of this software, including liability for
  15.      infringement of any proprietary rights, and including the
  16.      warranties of merchantability and fitness for a particular purpose.
  17.      Intel does not assume any responsibility for any errors which may
  18.      appear in this software nor any responsibility to update it.
  19.  
  20. Module Name:
  21.  
  22.     precomp.h
  23.  
  24. Abstract:
  25.  
  26.     This file includes all the headers required to build lsp.dll
  27.     to ease the process of building a precompiled header.
  28.  
  29. --*/
  30.  
  31. //#pragma message("")
  32. //#pragma message("******** PLEASE READ THIS MESSAGE **********")
  33. //#pragma message("Caution, this LSP code is provided 'as is,' an example ")
  34. //#pragma message("that illustrates the process of developing a Layered Service Provider.")
  35. //#pragma message("It does not take into account certain design considerations")
  36. //#pragma message("such as handling both TCP and UDP in the same LSP, nor does it")
  37. //#pragma message("prevent multiple threads on thunked 16 bit WinSock calls. This example")
  38. //#pragma message("should be used as a guide, not a direct implementation")
  39. //#pragma message("")
  40.  
  41. //#error "Please remove this line from precomp.h to compile this file"
  42.  
  43. #ifndef _PRECOMP_
  44. #define _PRECOMP_
  45.  
  46. #define WIN32_LEAN_AND_MEAN
  47.  
  48. //
  49. // Turn off "declspec" decoration of entrypoints defined in WINSOCK2.H.
  50. //
  51.  
  52. #define WINSOCK_API_LINKAGE
  53.  
  54. #include "nowarn.h"
  55.  
  56. #include <winsock2.h>
  57. #include <ws2spi.h>
  58. #include <wtypes.h>
  59. #include <assert.h>
  60. #include <winnt.h>
  61. #include <stdlib.h>
  62. #include "trace.h"
  63. #include "llist.h"
  64. #include "dprovide.h"
  65. #include "dsocket.h"
  66. #include "dcatalog.h"
  67. #include "dcatitem.h"
  68. #include "dworker.h"
  69. #include "dasyncw.h"
  70. #include "doverlap.h"
  71. #include "dbuffmgr.h"
  72. #include "dbgtrace.h"
  73. #include "dthook.h"
  74. #include "globals.h"
  75.  
  76. #endif  // _PRECOMP_
  77.